package net.ddns.xcyyds.kungfu.procedures;

import net.minecraft.world.entity.Entity;

import net.ddns.xcyyds.kungfu.network.KungFuModVariables;

public class NeiLiHudRead2Procedure {
	public static boolean execute(Entity entity) {
		if (entity == null)
			return false;
		if ((entity.getCapability(KungFuModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new KungFuModVariables.PlayerVariables())).NeiLiHud) {
			return false;
		}
		return true;
	}
}
